diff options
| author | secondl1ght <[email protected]> | 2022-09-24 22:20:18 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-09-24 22:20:18 -0600 |
| commit | f4dead26c92e2ef6be45af0eb56d12bb3a00d983 (patch) | |
| tree | 41048b6b097d90e01c696213789ea7f2bdabda05 /src/routes/[username]/settings/_security.svelte | |
| parent | fb264d8f09662f1acd8141ae0ee6d2e08cb011fe (diff) | |
| download | coinos-ui-f4dead26c92e2ef6be45af0eb56d12bb3a00d983.tar.gz coinos-ui-f4dead26c92e2ef6be45af0eb56d12bb3a00d983.zip | |
lots of style updates after design review, bug fixes, and more improve
Diffstat (limited to 'src/routes/[username]/settings/_security.svelte')
| -rw-r--r-- | src/routes/[username]/settings/_security.svelte | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/routes/[username]/settings/_security.svelte b/src/routes/[username]/settings/_security.svelte index b74193cf..1b8fb125 100644 --- a/src/routes/[username]/settings/_security.svelte +++ b/src/routes/[username]/settings/_security.svelte @@ -36,7 +36,7 @@ toggleEnabling(); } } catch (e) { - failure('Failed to enable 2fa, try again'); + failure('Failed to enable 2FA, try again'); } }; @@ -50,13 +50,14 @@ toggleDisabling(); } } catch (e) { - failure('Failed to disable 2fa, try again'); + failure('Failed to disable 2FA, try again'); } }; $: otpUri = `otpauth://totp/coinos:${$user.username}?secret=${$user.otpsecret}&period=30&digits=6&algorithm=SHA1&issuer=coinos`; </script> +<!-- TODO <div> <span class="font-bold mb-1">{$t('user.settings.securityPIN')}</span> <p class="text-secondary mb-1"> @@ -80,9 +81,9 @@ ><Icon icon="lock" style="mr-1" /> {$t('user.settings.setPIN')}</button > {/if} -</div> +</div> --> -<!-- TODO --> +<!-- TODO <div> <label for="auto-lock" class="font-bold mb-1">{$t('user.settings.autoLock')}</label> <p class="text-secondary mb-1"> @@ -95,7 +96,7 @@ <option value="60">1 h</option> <option value="480">8 h</option> </select> -</div> +</div> --> <div> <span class="font-bold mb-1">{$t('user.settings.twofa')}</span> |
